== Dependencies ==

 # The JSF Toolkit Base jar, available from the [[Downloads]] area.
 # A JSF 1.2 implementation (e.g. [https://javaserverfaces.dev.java.net/servlets/ProjectDocumentList?expandFolder=5220&folderID=1703 Sun's RI]) To compile you only need ^jsf-1.2-api.jar^.
 # [http://shale.apache.org/ Shale Remoting]
 # el-api-1.0, jsp-api-2.1, and servlet-api-2.5, which are bundled with your container (e.g. in ^tomcat/lib^)
 # [http://jakarta.apache.org/commons/logging/ commons-logging] (for shale-remoting)

== Setting up your environment ==

Get the dependencies and add them to your classpath, or if you're using maven, add them to your pom with something like:
<<
      <dependency>
         <groupId>com.jsftoolkit</groupId>
         <artifactId>components-base</artifactId>
         <version>1.0-SNAPSHOT</version>
      </dependency>

      <dependency>
         <groupId>org.apache.shale</groupId>
         <artifactId>shale-remoting</artifactId>
         <version>1.0.4</version>
      </dependency>

      <dependency>
         <groupId>javax.servlet.jsp</groupId>
         <artifactId>jsp-api</artifactId>
         <version>2.1</version>
         <scope>provided</scope>
      </dependency>

      <!-- If you're using JSP (not Facelets) you'll need the JSTL -->
      <dependency>
         <groupId>javax.servlet</groupId>
         <artifactId>jstl</artifactId>
         <version>1.1.0</version>
      </dependency>

      <dependency>
         <groupId>javax.faces</groupId>
         <artifactId>jsf-api</artifactId>
         <version>1.2</version>         
      </dependency>

      <dependency>
         <groupId>javax.faces</groupId>
         <artifactId>jsf-impl</artifactId>
         <version>1.2</version>
      </dependency>
>>
You're now ready to move on to [[CodeGen|Lesson 1]].